<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core"			 		prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Cache-Control" content="no-store"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<title>管理后台平台-鸿源商务酒店</title>
<jsp:include page="meta.jsp" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/check_top.js"></script>
<script type="text/javascript">

function logout(){
 	document.getElementById('logout').submit();
 }
 
 	$(document).ready(function(){
 	
 		$("#modify_password").click(function(){
 		
 		var rightFrame = parent.document.getElementById("rightFrame");
 			var iframeWindow = rightFrame.contentWindow;
 			iframeWindow.art.dialog.open('${pageContext.request.contextPath}/to-modify-password');
 			
		});
 	});
 	

</script>
<style type="text/css">
	.menu-scrollbar{
	height:250px;
	overflow-y:scroll;
	scrollbar-face-color:#FFFFFF;
	scrollbar-highlight-color:#FFFFFF;
	scrollbar-3dlight-color:#cccccc;
	scrollbar-darkshadow-color:#dddddd;
	scrollbar-Shadow-color:#FFFFFF;
	scrollbar-arrow-color:green;
	scrollbar-track-color:#ffffff;
	
	}
</style>
</head>
<body class="left">
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper">
      <!-- Sidebar with logo and menu -->
      <h1 id="sidebar-title"><a href="#">HY-Hotel</a></h1>
      <!-- Logo (221px wide) -->
      <a href="#">
      <img id="logo" src="${pageContext.request.contextPath}/images/logo.jpg" alt="HY-Hotel LOGO" />
      </a>
      <!-- Sidebar Profile links -->
      <div id="profile-links"><c:if test="${sessionScope.operator != null }">
    	您好，<a href="#" title="编辑您的个人资料">${sessionScope.operator.realname != null ? sessionScope.operator.realname : sessionScope.operator.username}</a> 
    </c:if><br />
        <br />
        <a href="javascript:;" id="modify_password">修改密码</a>| <a href="javascript:logout();" title="退出">退出</a> </div>
      <ul id="main-nav">
        <!-- Accordion Menu -->

        <li> <a href="#" class="nav-top-item "> 酒店动态 </a>
          <ul>
            	<li><a href="${pageContext.request.contextPath}/consumer-records" target="rightFrame">新闻动态</a></li>
          </ul>
        </li>
        
         <li> <a href="#" class="nav-top-item "> 酒店设施 </a>
          <ul>
				<li><a href="${pageContext.request.contextPath}/consumer-records" target="rightFrame">酒店设施</a></li>
          </ul>
        </li>
        
        <li> <a href="#" class="nav-top-item "> 酒店信息 </a>
          <ul>
				<li><a href="${pageContext.request.contextPath}/consumer-records" target="rightFrame">酒店介绍</a></li>
				<li><a href="${pageContext.request.contextPath}/consumer-records" target="rightFrame">酒店招聘</a></li>
				<li><a href="${pageContext.request.contextPath}/consumer-records" target="rightFrame">联系方式</a></li>
          </ul>
        </li>
                
      </ul>
    </div>
  </div>
  <!-- End #main-nav -->
  <!-- End #sidebar -->
</div>
<form action="${pageContext.request.contextPath}/logout" id="logout"></form>
</body>
</html>
